Gibson, James L., and Amanda Gouws. �Toward Understanding Condonation of Gender-Based Violence: The Interaction of Patriarchy Values and Contextual Elements of Violence Against Women.�
Replication Files
Version 1


The analyses reported in this paper were conducted with SPSS Version 29, running all analyses in batch mode. The batch file to use is JOP25-1.BAT.

      CD "C:\Program Files\IBM\SPSS Statistics"
"C:\Program Files\IBM\SPSS Statistics\stats.exe" -PRODUCTION "C:\WS2000\SYNTAX\JOP25-1.SPJ"
      "C:\Program Files\IBM\SPSS Statistics\stats.exe" "C:\WS2000\SYNTAX\JOP25-1.SPV"


The batch file calls a number of directories and files on Gibson�s computer:
C:\Program Files\IBM\SPSS Statistics\stats.exe" 
C:\WS2000\SYNTAX\JOP25-1.SPJ

Then the batch file writes the output file:
	C:\WS2000\SYNTAX\JOP25-1.SPV

The Files
SPSS:							C:\Program Files\IBM\SPSS Statistics
The syntax file:					C:\WS2000\SYNTAX\JOP25-1.SPS
In turn, syntax file accesses the SPSS data file:	GET FILE =  'C:\SPSS\V\JOP25-1.SAV'1
The output from the analysis is written in:		C:\SYNTAX\JOP25-1.SPV

There are a couple of additional files that govern how SPSS makes the graphs. These are:
Typically for a first draft of a graph:		C:\wS2000\Purple Bar3.SGT
The actual graphs for the paper are created interactively via SPSS�s graph editor.
      C:\WS2000\JOP25, F1.SGT
						C:\WS2000\JOP25, FIG B-1.SGT


Unless the files are stored in these directories, the code will not run. Alternatively, the .BAT could be altered to reflect a different file structure. (We have no experience with running the .SPS file interactively.) In addition, the SPSS Production facility must be linked to the .SPS, .SPJ, and .SPV files.

The syntax file mainly conducts all the empirical analyses reported in the paper and its supplemental appendices. At the end of the syntax file, the code accesses the AfroBarometer data to replicate some of the findings reported in the Online Appendices. 
	The AfroBarometer file is: C:\SPSS\V\SAF_R9.data_.final_.wtd_release.30May23.sav 

Since we often double-check the transformations of our variables, the code includes many instances of reviewing the frequencies of the variables in the analysis, even though these are not reported in the paper.

Almost all the analyses are weighted by WEIGHT2, although a handful of administrative details are reported without weights (e.g., WEIGHT CASES BY ONE, where ONE equals 1 for all cases).

Our convention for terminating a batch run is to cause an error with the command
      CONPUTE

The codebook for the dataset is included as:	CODEBOOK.PDF
All output from the run of the batch file is included as:  OUTPUT.PDF
	(The JOP25-1.SPV output file is also included.)





1 This data file is an extract from the larger survey file in which all variables relevant to this paper are included.
---------------

------------------------------------------------------------

---------------

------------------------------------------------------------

